package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-07 
 */
@ApiModel (value ="高支模数据表实体类", description = "HighSupports")
public class HighSupports {
	/**
	 * 高支模数据表id
	 */
   	@ApiModelProperty(value = "高支模数据表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 设备项目id
	 */
   	@ApiModelProperty(value = "设备项目id", name = "equipmentProjectId")
	private Integer equipmentProjectId;

	/**
	 * 倾斜X
	 */
   	@ApiModelProperty(value = "倾斜X", name = "slantX")
	private Double slantX;

	/**
	 * 倾斜Y
	 */
   	@ApiModelProperty(value = "倾斜Y", name = "slantY")
	private Double slantY;

	/**
	 * 轴压
	 */
   	@ApiModelProperty(value = "轴压", name = "axleLoad")
	private Double axleLoad;

	/**
	 * 位移
	 */
   	@ApiModelProperty(value = "位移", name = "displacement")
	private Double displacement;

	/**
	 * 温度
	 */
   	@ApiModelProperty(value = "温度", name = "temperature")
	private Double temperature;

	/**
	 * 电压
	 */
   	@ApiModelProperty(value = "电压", name = "voltage")
	private Double voltage;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "sendTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date sendTime;

	public HighSupports(){ super(); }

	public HighSupports(Integer id, Integer projectId, Integer equipmentProjectId, Double slantX, Double slantY, Double axleLoad, Double displacement, Double temperature, Double voltage, Date sendTime) {
		this.id = id;
		this.projectId = projectId;
		this.equipmentProjectId = equipmentProjectId;
		this.slantX = slantX;
		this.slantY = slantY;
		this.axleLoad = axleLoad;
		this.displacement = displacement;
		this.temperature = temperature;
		this.voltage = voltage;
		this.sendTime = sendTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getEquipmentProjectId() {
		return this.equipmentProjectId;
	}

	public void setEquipmentProjectId(Integer equipmentProjectId) {
		this.equipmentProjectId = equipmentProjectId;
	}

	public Double getSlantX() {
		return this.slantX;
	}

	public void setSlantX(Double slantX) {
		this.slantX = slantX;
	}

	public Double getSlantY() {
		return this.slantY;
	}

	public void setSlantY(Double slantY) {
		this.slantY = slantY;
	}

	public Double getAxleLoad() {
		return this.axleLoad;
	}

	public void setAxleLoad(Double axleLoad) {
		this.axleLoad = axleLoad;
	}

	public Double getDisplacement() {
		return this.displacement;
	}

	public void setDisplacement(Double displacement) {
		this.displacement = displacement;
	}

	public Double getTemperature() {
		return this.temperature;
	}

	public void setTemperature(Double temperature) {
		this.temperature = temperature;
	}

	public Double getVoltage() {
		return this.voltage;
	}

	public void setVoltage(Double voltage) {
		this.voltage = voltage;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", equipmentProjectId='" + equipmentProjectId + '\'' +
				", slantX='" + slantX + '\'' +
				", slantY='" + slantY + '\'' +
				", axleLoad='" + axleLoad + '\'' +
				", displacement='" + displacement + '\'' +
				", temperature='" + temperature + '\'' +
				", voltage='" + voltage + '\'' +
				", sendTime='" + sendTime + '\'' +
				'}';
	}
}
